package introduction;

public class PrintNumberRunnable implements Runnable {
    @Override
    public void run() {
        // 遍历100以内的奇数数
        for (int i = 1; i <= 100; i += 2) {
            System.out.println(Thread.currentThread().getName() + "--->" + i);
        }
    }
}
